package nl.depository.pim.entities;

import java.util.ArrayList;
import java.util.List;

import javax.mail.internet.InternetAddress;
import javax.persistence.Id;

import org.joda.time.LocalDate;

public class Contact extends MetaNode
{
	@Id
	private String id;
	
	private String firstName;
	
	private String lastName;
	
	private String nickname;
	
	private LocalDate birthday;
	
	private File photo;
	
	// Is being handled in a different page than the rest.
	private List<Address> addresses = new ArrayList<Address>();
	
	private List<InternetAddress> mailAddresses = new ArrayList<InternetAddress>();
	
	private List<Website> websites = new ArrayList<Website>();
	
	public String getId()
	{
		return id;
	}
	
	public String getFirstName()
	{
		return firstName;
	}

	public void setFirstName(String firstName)
	{
		this.firstName = firstName;
	}

	public String getLastName()
	{
		return lastName;
	}

	public void setLastName(String lastName)
	{
		this.lastName = lastName;
	}

	public String getNickname()
	{
		return nickname;
	}

	public void setNickname(String nickname)
	{
		this.nickname = nickname;
	}

	public LocalDate getBirthday()
	{
		return birthday;
	}

	public void setBirthday(LocalDate birthday)
	{
		this.birthday = birthday;
	}

	public File getPhoto()
	{
		return photo;
	}

	public void setPhoto(File photo)
	{
		this.photo = photo;
	}

	public List<Address> getAddresses()
	{
		return addresses;
	}

	public void setAddresses(List<Address> addresses)
	{
		this.addresses = addresses;
	}

	public List<InternetAddress> getMailAddresses()
	{
		return mailAddresses;
	}

	public void setMailAddresses(List<InternetAddress> mailAddresses)
	{
		this.mailAddresses = mailAddresses;
	}

	public List<Website> getWebsites()
	{
		return websites;
	}

	public void setWebsites(List<Website> websites)
	{
		this.websites = websites;
	}
}
